/**
 * <p>文件名:		FooServiceProcessImpl.java</p>
 * <p>版权:		CopyrightTag</p>
 * <p>公司:		CompanyTag</p>
 * @author		周华彬(zhouhuabin@ctfo.com, zhou_hua_bin@163.com)
*/

package com.caits.lbs.framework.services.thrift;

import org.apache.logging.log4j.Logger;
import org.apache.thrift.TException;

import com.caits.lbs.framework.log.CommonLogFactory;
import com.caits.lbs.framework.services.thrift.FooServiceProcess.Iface;


/**
 * <p>FooServiceProcessImpl</p>
 * <p>TODO</p>
 *
 * @author		周华彬(zhouhuabin@ctfo.com, zhou_hua_bin@163.com)
 * @version		0.0.0
 * <table style="border:1px solid gray;">
 * <tr>
 * <th width="100px">版本号</th><th width="100px">动作</th><th width="100px">修改人</th><th width="100px">修改时间</th>
 * </tr>
 * <!-- 以 Table 方式书写修改历史 -->
 * <tr>
 * <td>0.0.0</td><td>创建类</td><td>zhouhuabin</td><td>2014年11月19日 下午6:36:31</td>
 * </tr>
 * <tr>
 * <td>XXX</td><td>XXX</td><td>XXX</td><td>XXX</td>
 * </tr>
 * </table>
 */
public class FooServiceProcessImpl implements Iface {

	protected Logger log = CommonLogFactory.getLog();
	/* (non-Javadoc)
	 * @see com.caits.lbs.framework.services.thrift.FooServiceProcess.Iface#ping(java.lang.String)
	 */
	@Override
	public String ping(String hello) throws TException {
		log.info("thrift server receive:"+hello);
		return "i'm OK from java server";
	}

}
